package cn.com.dycc.meeting_assist.meeting_room.dao;


import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import cn.com.dycc.meeting_assist.meeting_room.entity.Room;
import cn.com.dycc.meeting_assist.meeting_room.param.FindRoomParam;






/**
 * 
 * Description: 会议室管理dao层
 * Author: Liket
 * Version: 1.0
 * Create Date Time: 2018年10月25日 上午10:01:45.
 * Update Date Time: 
 * @see
 */
@Repository("roomDao")
public interface RoomDao {
	
	int addRoom(Room room);
	int deleteRoom(
			@Param("room_id")String room_id,
			@Param("org_id")String org_id);
	int updateRoom(Room room);
	Room findRoomById(
			@Param("room_id")String room_id,
			@Param("org_id")String org_id);
	
	List<Room> findRoomByParam(FindRoomParam room);
	String countRoomByParam(FindRoomParam room);
}
